package com.fly.container.controller;

import com.fly.container.service.RetryService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * Retry
 *
 * @author Mr.Fu
 * @date 2023/4/16 下午8:37
 */
@RestController
@RequestMapping(path = "retry")
public class RetryController {

    @Resource
    private RetryService retryService;

    @GetMapping
    public String retry(String name) {
        return retryService.retry(name);
    }
}
